﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="../images/favicon.ico">
<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/MBase.js"></script>
<!-- 富文本编辑器 -->
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/themes/default/default.css" />
<link rel="stylesheet" type="text/css"
	href="${path }/resource/plugin/kindeditor/plugins/code/prettify.css" />
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/kindeditor.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/lang/zh_CN.js"></script>
<script type="text/javascript"
	src="${path }/resource/plugin/kindeditor/plugins/code/prettify.js"></script>
	

<title></title>
</head>
<div class="ibox-content">
		
	<form class="form-horizontal" id="dataform"
		onsubmit="javascripr:return false;">

		<div class="form-group">
			<label class="col-sm-2 control-label">标题<span class="text-danger">*</span></label>
			<div class="col-sm-4">
				<p class="form-control-static" >${obj.title}</p>
			</div>
			
		</div>
      
		
		 <div class="form-group">
			<label class="col-sm-2 control-label">报告内容</label>
			<div class="col-sm-8">
				 <div class="form-control-static">${obj.content}</div>
			</div>
		</div>
		  
		 <div class="form-group">
			<label class="col-sm-2 control-label">bug统计</label>
			<div class="col-sm-8">
				<table class="table  table-hover table-striped table-bordered">
				  <thead>
						<tr>
							
						<th data-align="center"  data-width="30px" >序号</th>
						<th data-field="userName" data-sortable="true">姓名</th>
						<th data-field="total">bug总数</th>
						<th data-field="djj" >待解决数量</th>
						<th data-field="yjj" >已解决</th>
						<th data-field="byjj" >不予解决</th>
						<th data-field="yqjj" >延期解决</th>
						<th data-field="wfcx" >无法重现</th>
						<th data-field="cfbg" >重复bug</th>
						<th data-field="cfbg" >备注</th>
						</tr>
				  </thead>
				 <tbody id="cpId">
				    <c:forEach items="${obj.bugTotal}" var="item" varStatus="status">
				      <tr>
				      <td>${status.count}</td>
				      <td>${item.userName}<input type="hidden" name="bugTotal[${status.index}].userId" value="${item.userId}"></td>
				      <td>${item.total}<input type="hidden" name="bugTotal[${status.index}].total" value="${item.total}"></td>
				      <td>${item.djj}<input type="hidden" name="bugTotal[${status.index}].djj" value="${item.djj}"></td>
				      <td>${item.yjj}<input type="hidden" name="bugTotal[${status.index}].yjj" value="${item.yjj}"></td>
				      <td>${item.byjj}<input type="hidden" name="bugTotal[${status.index}].byjj" value="${item.byjj}"></td>
				      <td>${item.yqjj}<input type="hidden" name="bugTotal[${status.index}].yqjj" value="${item.yqjj}"></td>
				      <td>${item.wfcx}<input type="hidden" name="bugTotal[${status.index}].wfcx" value="${item.wfcx}"></td>
				      <td>${item.cfbg}<input type="hidden" name="bugTotal[${status.index}].cfbg" value="${item.cfbg}"></td>
				      <td>${item.remark}</td>
				      </tr>
				    </c:forEach>
				  </tbody>
				</table>
			</div>
			
		</div>
		<div class="form-group ">
			<div class="col-sm-12 text-center">
					<button onclick="MTools.closeForm()" class="btn btn-danger radius" type="button">取消</button>
			</div>
		</div>
	</form>
	
	
</div>

</body>
</html>